# import random
# nums = []
# while len(nums) < 6:
#     num = random.randint(1,33)
#     if num not in nums:
#         nums.append(num)
# nums.append(random.randint(1,16))
# print('随机生成的双色球号码：')
# print('红球：',end='')
# for i in nums[:6]:
#     print(i,end='')
# print('篮球：',nums[6])

#
# numbers  = [5,6,9,3,12,18,20,35,62]
# numbers.sort(reverse=True)
# print(numbers)
# words = ['chicken','fox','duck','dog','reddit','sheep']
# words.sort(key=len)
# print(words)